<?php
include_once('common/header.php');
$strReferer		= isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '';
//
if($AppUI->id > 0 && $strReferer == LINK_USER_EDUCATION_WORKING) {
	$objCommon					= new Vfriend_Common();
	$this->view->arrGender 		= Vfriend_Function::gender();
	$this->view->arrAge			= Vfriend_Function::arrayNumber(USER_AGE_FROM,USER_AGE_TO);
	$this->view->arrCountry		= $objCommon->getCountry();
	$this->view->arrProvince	= $objCommon->getProvince(COUNTRY_DEFAULT);
	$this->view->arrEducation	= $objCommon->getEducation();
	$this->view->arrOccupation	= $objCommon->getOccupation();
	$this->view->arrReligion	= $objCommon->getReligion();
}
else {
	Vfriend_Function::redirect(HOST_VFRIEND);	
}
?>